package com.zh.service.impl;

import com.zh.entry.Airports;
import com.zh.entry.Flights;
import com.zh.entry.Flights_tickets;
import com.zh.mapper.Flys;
import com.zh.pojo.FlysPojo;
import com.zh.service.FlysService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class FlysServiceImpl implements FlysService {

    @Autowired
    private Flys flys;

    @Override
    public ArrayList<FlysPojo> findflys(FlysPojo flysPojo) {
        return flys.findflys(flysPojo);
    }

    @Override
    public ArrayList<Flights_tickets> findByFilghtsid(Flights flights) {
        return flys.findByFilghtsid(flights);
    }
}
